﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="Content">

    <div>
    <h2>Registro de Plato</h2>

    <table class="tblRegistro">
    <tr>
        <th>Restaurante</th>
        <td>Señor Limon<input type="hidden" /></td>
    </tr>
    <tr>
        <th>Nombre</th>
        <td><input type="text" /></td>
    </tr>
    <tr>
        <th>Categoria</th>
        <td><input type="text" /></td>
    </tr>
    <tr>
        <th>Precio</th>
        <td><input type="text" /></td>
    </tr>
    <tr>
        <th>Observaciones</th>
        <td><input type="text" /></td>
    </tr>
    <tr>
        <td colspan="2">
            <div class="tblBotones">
                <input type="button" id="btnAceptar" value="Aceptar" />
                <input type="button" id="btnCancelar" value="Cancelar" />
            </div>        
        </td>
    </tr>

    </table>


</div>
</div>

<script type="text/javascript">
    $(function () {
        $('#btnCancelar').click(function () {
            window.location = '@Url.Action("List", "Reserva")';
        });
    });
</script>